package cool.houge.pig.util;

/** @author KK (kzou227@qq.com) */
public class MissingQueryParameterException extends RuntimeException {

  private final String parameterName;

  /**
   * @param message
   * @param parameterName
   */
  public MissingQueryParameterException(String message, String parameterName) {
    super(message);
    this.parameterName = parameterName;
  }

  /** @return */
  public String getParameterName() {
    return parameterName;
  }

  @Override
  public synchronized Throwable fillInStackTrace() {
    return this;
  }
}
